package com.example.student.controller;

import com.example.student.bean.BaseResultBean;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("test")
public class TestController {

    @RequestMapping("hello")
    public BaseResultBean hello(){
        BaseResultBean resultBean = BaseResultBean.OK("hello");
        return resultBean;
    }

}
